/*****************************************************************************

FileName: <error.h>

Description:
Error Type Definitions

*****************************************************************************/

#ifndef _ERROR_H
#define _ERROR_H


typedef enum ErrorType
{
	ErrorNone = 0,

	/** There were insufficient resources to perform the requested operation */
	ErrorInsufficientResources = 0x80001000,

	/** There was an error, but the cause of the error could not be determined */
	ErrorUndefined = 0x80001001,

	/** One or more parameters were not valid */
	ErrorBadParameter = 0x80001005,

	/** The requested function is not implemented */
	ErrorNotImplemented = 0x80001006,

	/** The buffer was emptied before the next buffer was ready */
	ErrorUnderflow = 0x80001007,

	/** The buffer was not available when it was needed */
	ErrorOverflow = 0x80001008,

	/** The hardware failed to respond as expected */
	ErrorHardware = 0x80001009,

	/** Stream is found to be corrupt */
	ErrorStreamCorrupt = 0x8000100B,

	/** No more indicies can be enumerated */
	ErrorNoMore = 0x8000100E,

	/** Detected a version mismatch */
	ErrorVersionMismatch = 0x8000100F,

	/** Not ready to return data at this time */
	ErrorNotReady = 0x80001010,

	/** There was a timeout that occurred */
	ErrorTimeout = 0x80001011,

	/** The values encapsulated in the parameter or config structure are not supported. */
	ErrorUnsupportedSetting = 0x80001019,

	/** The parameter or config indicated by the given index is not supported. */
	ErrorUnsupportedIndex = 0x8000101A,

	/** Component suspended due to an inability to acquire dynamic resources */
	ErrorDynamicResourcesUnavailable = 0x8000101E,

	/** When the macroblock error reporting is enabled the component returns new error 
	for every frame that has errors */
	ErrorMbErrorsInFrame = 0x8000101F,

	/** A component reports this error when it cannot parse or determine the format of an input stream. */
	ErrorFormatNotDetected = 0x80001020, 

	/** The content open operation failed. */
	ErrorContentPipeOpenFailed = 0x80001021,

	/** The content creation operation failed. */
	ErrorContentPipeCreationFailed = 0x80001022,

	/** Separate table information is being used */
	ErrorSeperateTablesUsed = 0x80001023,

	ErrorMax = 0x7FFFFFFF,
}ErrorType;



#endif

